<?php

namespace Lims\MainBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * PaymentScheduleMap
 */
class PaymentScheduleMap
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var string
     */
    private $balance;

    /**
     * @var \DateTime
     */
    private $createdDate;

    /**
     * @var boolean
     */
    private $isActive;

    /**
     * @var string
     */
    private $paidAmount;

    /**
     * @var integer
     */
    private $creditId;

    /**
     * @var \Lims\MainBundle\Entity\CreditSchedule
     */
    private $schedule;

    /**
     * @var \Lims\MainBundle\Entity\Payment
     */
    private $payment;

    /**
     * @var \Lims\MainBundle\Entity\Users
     */
    private $createdUser;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set balance
     *
     * @param string $balance
     * @return PaymentScheduleMap
     */
    public function setBalance($balance)
    {
        $this->balance = $balance;

        return $this;
    }

    /**
     * Get balance
     *
     * @return string 
     */
    public function getBalance()
    {
        return $this->balance;
    }

    /**
     * Set createdDate
     *
     * @param \DateTime $createdDate
     * @return PaymentScheduleMap
     */
    public function setCreatedDate($createdDate)
    {
        $this->createdDate = $createdDate;

        return $this;
    }

    /**
     * Get createdDate
     *
     * @return \DateTime 
     */
    public function getCreatedDate()
    {
        return $this->createdDate;
    }

    /**
     * Set isActive
     *
     * @param boolean $isActive
     * @return PaymentScheduleMap
     */
    public function setIsActive($isActive)
    {
        $this->isActive = $isActive;

        return $this;
    }

    /**
     * Get isActive
     *
     * @return boolean 
     */
    public function getIsActive()
    {
        return $this->isActive;
    }

    /**
     * Set paidAmount
     *
     * @param string $paidAmount
     * @return PaymentScheduleMap
     */
    public function setPaidAmount($paidAmount)
    {
        $this->paidAmount = $paidAmount;

        return $this;
    }

    /**
     * Get paidAmount
     *
     * @return string 
     */
    public function getPaidAmount()
    {
        return $this->paidAmount;
    }

    /**
     * Set creditId
     *
     * @param integer $creditId
     * @return PaymentScheduleMap
     */
    public function setCreditId($creditId)
    {
        $this->creditId = $creditId;

        return $this;
    }

    /**
     * Get creditId
     *
     * @return integer 
     */
    public function getCreditId()
    {
        return $this->creditId;
    }

    /**
     * Set schedule
     *
     * @param \Lims\MainBundle\Entity\CreditSchedule $schedule
     * @return PaymentScheduleMap
     */
    public function setSchedule(\Lims\MainBundle\Entity\CreditSchedule $schedule = null)
    {
        $this->schedule = $schedule;

        return $this;
    }

    /**
     * Get schedule
     *
     * @return \Lims\MainBundle\Entity\CreditSchedule 
     */
    public function getSchedule()
    {
        return $this->schedule;
    }

    /**
     * Set payment
     *
     * @param \Lims\MainBundle\Entity\Payment $payment
     * @return PaymentScheduleMap
     */
    public function setPayment(\Lims\MainBundle\Entity\Payment $payment = null)
    {
        $this->payment = $payment;

        return $this;
    }

    /**
     * Get payment
     *
     * @return \Lims\MainBundle\Entity\Payment 
     */
    public function getPayment()
    {
        return $this->payment;
    }

    /**
     * Set createdUser
     *
     * @param \Lims\MainBundle\Entity\Users $createdUser
     * @return PaymentScheduleMap
     */
    public function setCreatedUser(\Lims\MainBundle\Entity\Users $createdUser = null)
    {
        $this->createdUser = $createdUser;

        return $this;
    }

    /**
     * Get createdUser
     *
     * @return \Lims\MainBundle\Entity\Users 
     */
    public function getCreatedUser()
    {
        return $this->createdUser;
    }
    /**
     * @var \Lims\MainBundle\Entity\Credit
     */
    private $credit;

    /**
     * @var \Lims\MainBundle\Entity\Status
     */
    private $status;


    /**
     * Set credit
     *
     * @param \Lims\MainBundle\Entity\Credit $credit
     * @return PaymentScheduleMap
     */
    public function setCredit(\Lims\MainBundle\Entity\Credit $credit = null)
    {
        $this->credit = $credit;

        return $this;
    }

    /**
     * Get credit
     *
     * @return \Lims\MainBundle\Entity\Credit 
     */
    public function getCredit()
    {
        return $this->credit;
    }

    /**
     * Set status
     *
     * @param \Lims\MainBundle\Entity\Status $status
     * @return PaymentScheduleMap
     */
    public function setStatus(\Lims\MainBundle\Entity\Status $status = null)
    {
        $this->status = $status;

        return $this;
    }

    /**
     * Get status
     *
     * @return \Lims\MainBundle\Entity\Status 
     */
    public function getStatus()
    {
        return $this->status;
    }
}
